package com.htstar.ovms.admin.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * <p>
 * 菜单权限表
 * </p>
 *
 * @author ovms
 * @since 2017-11-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysMenuLang extends Model<SysMenuLang> {

    private static final long serialVersionUID = 1L;
    /**
     * 菜单ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "菜单id")
    private Integer id;

    @ApiModelProperty(value = "中文")
    private String menuName;

    @ApiModelProperty(value = "英文")
    private String menuEn;

    @ApiModelProperty(value = "繁体")
    private String menuTw;
    /**
     * 菜单名称
     */
//    @NotBlank(message = "菜单名称不能为空")
//    @ApiModelProperty(value = "菜单名称")
//    private String name;


//    /**
//     * 菜单类型 （0菜单 1按钮）
//     */
//    @NotNull(message = "菜单类型不能为空")
//    @ApiModelProperty(value = "菜单类型,0:菜单 1:按钮")
//    private String type;

    /**
     * 0--正常 1--删除
     */
//    @TableLogic
//    @ApiModelProperty(value = "删除标记,1:已删除,0:正常")
//    private String delFlag;


}
